package com.ruoyi.iot.hikvision.ys;

import java.util.List;

public class YsDeviceChannelResponse {
    private String code;
    private String msg;
    private List<DeviceChannel> data;


    public static class DeviceChannel {
        private String deviceSerial;//	String	设备序列号

        private String ipcSerial;//	String	IPC序列号
        private int channelNo;//	int	通道号
        private String deviceName;//	String	设备名
        private String channelName;//	String	通道名

        private int status;//	int	在线状态：0-不在线，1-在线,-1设备未上报
        private int isShared;//
        private String picUrl;//	String	图片地址（大图），若在萤石客户端设置封面则返回封面图片，未设置则返回默认图片
        private int isEncrypt;//	int	是否加密，0：不加密，1：加密
        private int videoLevel;//	int	视频质量：0-流畅，1-均衡，2-高清，3-超清
        private boolean relatedIpc;//	boolean	当前通道是否关联IPC：true-是，false-否。设备未上报或者未关联都是false


        public int getIsShared() {
            return isShared;
        }

        public void setIsShared(int isShared) {
            this.isShared = isShared;
        }

        public String getDeviceSerial() {
            return deviceSerial;
        }

        public void setDeviceSerial(String deviceSerial) {
            this.deviceSerial = deviceSerial;
        }

        public String getIpcSerial() {
            return ipcSerial;
        }

        public void setIpcSerial(String ipcSerial) {
            this.ipcSerial = ipcSerial;
        }

        public int getChannelNo() {
            return channelNo;
        }

        public void setChannelNo(int channelNo) {
            this.channelNo = channelNo;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getChannelName() {
            return channelName;
        }

        public void setChannelName(String channelName) {
            this.channelName = channelName;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getIsEncrypt() {
            return isEncrypt;
        }

        public void setIsEncrypt(int isEncrypt) {
            this.isEncrypt = isEncrypt;
        }

        public int getVideoLevel() {
            return videoLevel;
        }

        public void setVideoLevel(int videoLevel) {
            this.videoLevel = videoLevel;
        }

        public boolean isRelatedIpc() {
            return relatedIpc;
        }

        public void setRelatedIpc(boolean relatedIpc) {
            this.relatedIpc = relatedIpc;
        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DeviceChannel> getData() {
        return data;
    }

    public void setData(List<DeviceChannel> data) {
        this.data = data;
    }
}
